package com.jf3q.security.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author:xiaojie
 * @create: 2023-05-10 14:27
 * @Description:
 */

@Data
@Schema
public class AclPermissionVo {

    @Schema(defaultValue = "id")
    private String id;

    @Schema(defaultValue = "所属上级id")
    private String pid;
    @Schema(defaultValue = "菜单名称")
    private String name;

    @Schema(defaultValue = "类型(1:菜单,2:按钮)")
    private Byte type;

    @Schema(defaultValue = "权限值")
    private String permissionValue;
    @Schema(defaultValue = "访问路径")
    private String path;
    @Schema(defaultValue = "组件路径")
    private String component;
    @Schema(defaultValue = "图标")
    private String icon;
    @Schema(defaultValue = "层级")
    private Integer level;
    @Schema(defaultValue = "子菜单")
    private List<AclPermissionVo> children;//子菜单


}
